/*
 * timer.h
 *
 *  Created on: 22.02.2013
 *      Author: Roma Jam
 */

#ifndef TIMER_H_
#define TIMER_H_

#include "inttypes.h"

class Timer_t {
private:

public:
    uint32_t Counter;
    void Init(void);
    bool Elapsed(uint32_t *AVar, const uint32_t ADelay_us);
    void Reset(uint32_t *AVar)  { *AVar = Counter; }
};

extern "C" {
void TIM3_IRQHandler(void);
}
#endif /* TIMER_H_ */
